<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <script src='/js/jquery.min.js' ></script>
    <script src="/js/marked.min.js" type="text/javascript"></script>
    <link rel="stylesheet" href="/css/highlight.min.css">
    <script src="/js/highlight.min.js"></script>
    {% assets "js_test" %}
    <script type="text/javascript" src="{{ ASSET_URL }}"></script>
    {% endassets %}
    <link rel="stylesheet" href="/css/markdown-gt.css" >

    <title>测试</title>
</head>
<body>
<div id="markdown">
    {{ content }}
</div>

<script>
    console.log($("#markdown").text())
    $('#markdown').html(marked($("#markdown").text()));
    $('pre code').each(function(i, block) {
        hljs.highlightBlock(block);
    });
</script>
</body>
</html>